package com.sjzd.meeting.service;

import com.github.pagehelper.PageInfo;
import com.sjzd.meeting.pojo.Role;

public interface IRoleService {
    PageInfo<Role> findAll(int pageNum, int pageSize);

    int update(Role role);

    Role findById(Integer id);

    int save(Role role);

    int deleteById(Integer id);

    PageInfo<Role> findByCondition(String rname, Integer status, int pageNum, int pageSize);
}
